package com.zhang.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.goods.entity.Attribute;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 商品属性表 Mapper 接口
 * </p>
 *
 * @author 创世神
 * @since 2023-09-12
 */
@Mapper
public interface AttributeMapper extends BaseMapper<Attribute> {

    List<Attribute> getAttrByCategoryIdAdnNoAsso(Long categoryId);

    List<Long> selectSearchAttrIds(List<Long> attrIds);
}
